package com.senken.service.impl;

import org.springframework.stereotype.Service;

import com.senken.mapper.HiduserMapper;
import com.senken.entity.Hiduser;
import com.senken.service.IHiduserService;
import com.baomidou.framework.service.impl.SuperServiceImpl;

/**
 *
 * Hiduser 表数据服务层接口实现类
 *
 */
@Service
public class HiduserServiceImpl extends SuperServiceImpl<HiduserMapper, Hiduser> implements IHiduserService {


	@Override
	public boolean addHiduser(int Hid,int Fid,int maintainer,int leader){
		Hiduser hiduser = new Hiduser();
		hiduser.setFid(Fid);
		hiduser.setHid(Hid);
		hiduser.setMaintainer(maintainer);
		hiduser.setLeader(leader);
		return this.insert(hiduser);
	}
}